.view-nav {
    left: 0;
    background-color: #fff;
    position: fixed;
    top: 5rem;
    width: 100%;
    height: 3.833rem;
    z-index: 100;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
    transition: all .2s;
    transform: translateZ(0);
}

.view-nav:before {
    left: 0;
    right: 0;
    content: "";
    position: absolute;
    bottom: 0;
    /* height: 60%; */
    height: 200%;
    z-index: -1;
    background-color: white;
}

.view-nav .nav-list_left {
    max-width: 960px;
    height: 100%;
    margin: auto;
    display: flex;
    line-height: 1;
}


.view-nav .nav-list_left .main_nav-item:first-child {
    padding: 0 1rem 0 0;
}



.nav-list_left {
    top: 0;
    right: 0;
    padding: 0 1rem 0 0;
    position: relative;
    color: inherit;
    display: flex;
    /* justify-content: space-between */
    align-items: center;
    line-height: 1;
}

.view-nav .nav-list_left .main_nav-item:first-child {
    padding: 0 1rem 0 0;
}

.view-nav .nav-list_left .main_nav-item:last-child {
    padding: 0 0 0 1rem;
}

.main_nav-item {
    color: inherit;
    position: relative;
    cursor: pointer;
}

.main_nav-item>a:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.view-nav .nav-list_left .main_nav-item {
    height: 100%;
    align-items: center;
    display: flex;
    flex-shrink: 0;
    font-size: 1.16rem;
    color: #71777c;
    padding: 0 1rem;
}

.view-nav .nav-list_left .main_nav-item:first-child {
    padding: 0 1rem 0 0;
}

.view-nav .nav-list_left .main_nav-item:last-child {
    padding: 0 0 0 1rem;
}

.view-nav .nav-list_left .main_nav-item.active,
.view-nav .nav-list_left .main_nav-item:hover {
    color: #007fff;
}

.view-nav .nav-list_left .main_nav-item a {
    color: inherit;
}

.main_nav-item {
    position: relative;
    cursor: pointer;
}

.list-header .nav-list_left .main_nav-item.active a,
.list-header .nav-list_left .main_nav-item a:hover {
    color: #007fff;
}

.list-header .nav-list_left .main_nav-item {
    padding: 0 1.2rem;
    font-size: 1.16rem;
    border-right: 1px solid hsla(0, 0%, 59.2%, .2);
}

.section1 {
    float: left;
    font-size: 16px;
    line-height: 40px;
    text-align: center;
}

@media (max-width: 980px){
    .view-nav .nav-list_left {
        width: auto;
        overflow-x: auto;
    }
}

@media (max-width: 980px){
    .view-nav .nav-list_left .main_nav-item:first-child, .view-nav .nav-list_left .main_nav-item:last-child {
        padding: 0 1.5rem;
    }
}

/* 这里规定悬停时head的样式 */
/* 也可以写作.head:hover */

.section1:hover .head1 {
    color: white;
    background-color: white;
}

/* 整个menu一开始是看不到的 同时规定样式 */

.menu1 {
    display: none;
    background-color: transparent;
}

/* 悬停后就可以看到menu了 只能悬停父盒子 */

.section1:hover .menu1 {
    display: block;
}

/* 规定悬停时li的样式 */

.menu1 li:hover {
    background-color: white;
}